package com.cnfilm.web.video;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

/**
 * Video model.
 */
@SuppressWarnings("serial")
public class Video extends Model<Video> {
	
	public static final Video dao = new Video();
	
	public static List<Video> getVideoByTypeAndFid(String type,int fid){
		String sql = "select * from video where vtype=? and fid=?";
		List<Video> videoList = Video.dao.find(sql, type, fid);
		return videoList;
	}
}